package com.xiaoli.study.provider.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.xiaoli.study.api.UserService;

/**
 * <p>Description: []</p>
 * Copyright (c) 2017 北京柯莱特科技有限公司
 * Created on 2018/3/27
 *
 * @author <a href="mailto: liruifeng@camelotchina.com">李瑞丰</a>
 * @version 1.0
 */
@Service(
        version = "1.0.0",
        application = "${dubbo.application.id}",
        protocol = "${dubbo.protocol.id}",
        registry = "${dubbo.registry.id}"
)
public class UserServiceImpl implements UserService {

    public String getUserById(Long id) {
        return "xiaoli";
    }
}
